﻿using System;
using System.Collections.Generic;
using System.Text;
using SharpDiary.Core.Data;
using System.Drawing;
using System.IO;
using SharpDiary.Core.Drawing;
using SharpDiary.Core.Utility;

namespace SharpDiary.Core.ORMapping
{
    [TableInfoAttribute("WeatherInfo")]
    public class WeatherInfo : DbMappingObjectBase
    {
        #region Fields & Properties

        private Int64 _id = 0;

        [FieldMappingAttribute(true, System.Data.DbType.Int64, true, true)]
        public Int64 Id
        {
            get { return _id; }
            set { _id = value; }
        }

        private string _displayName = string.Empty;

        [FieldMappingAttribute(false, System.Data.DbType.String, false, false)]
        public string DisplayName
        {
            get { return _displayName; }
            set { _displayName = value; }
        }

        private string _description = string.Empty;

        [FieldMappingAttribute(false, System.Data.DbType.String, false, false)]
        public string Description
        {
            get { return _description; }
            set { _description = value; }
        }

        private byte[] _image;

        [FieldMappingAttribute(false, System.Data.DbType.Binary, false, false)]
        public byte[] Image
        {
            get { return _image; }
            set { _image = value; }
        }

        #endregion

        #region Constructors

        public WeatherInfo()
        {

        }

        #endregion

        #region Methods

 
        #endregion

    }
}
